Skip to content

feat(ci): add Windows to CI and release pipeline#140

Merged
stephenleo merged 3 commits intomainfrom
story-10-1-add-windows-to-ci-and-release
Mar 28, 2026
Merged

feat(ci): add Windows to CI and release pipeline#140
stephenleo merged 3 commits intomainfrom
story-10-1-add-windows-to-ci-and-release

Conversation

@stephenleo
Copy link
Copy Markdown
Owner

Summary

  • Add Windows (windows-latest) runner to the CI matrix so Windows builds are validated on every PR
  • Extend the release pipeline to build and upload a cship-x86_64-pc-windows-msvc.exe binary alongside existing Linux and macOS targets
  • Restore file command validation for non-Windows binaries to keep integrity checks intact on Linux/macOS

Test plan

  • CI passes on Windows runner (unit tests + clippy + fmt)
  • Release job produces cship-x86_64-pc-windows-msvc.exe asset on a v* tag push
  • Existing Linux and macOS release assets are unaffected

🤖 Generated with Claude Code

stephenleo and others added 2 commits March 28, 2026 18:38
Add windows-latest to the ci.yml and release.yml test matrices, and add
x86_64-pc-windows-msvc and aarch64-pc-windows-msvc build targets to release.yml.
Update Rename/Validate binary steps to handle .exe suffix on Windows; use glob
upload path so both Linux and Windows assets are picked up correctly.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
The original change removed the `file` validation command for all targets
when it only needed to be skipped on Windows (where `file` is unavailable).
This restores it conditionally for Linux/macOS to catch cross-compilation
architecture mismatches.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@claude
Copy link
Copy Markdown

claude bot commented Mar 28, 2026

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.

On Windows the function uses APPDATA instead of HOME to locate
settings.json, so the non-APPDATA test was writing the file to the
wrong path and always hitting the "not found — skipping" branch.
Windows-specific behaviour is already covered by
test_remove_statusline_uses_appdata_on_windows.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@stephenleo stephenleo merged commit 56c1896 into main Mar 28, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant